PaymentPlugins\WooCommerce\PPCP\Admin\Settings\PayLaterMessageSettings A

Total Complexity 54
Dependencies 4
Dependents 3
Total lines 873
Lines of code 831
Logical lines of code 84
Comment lines 10
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
init_form_fields()
D
16
1 646
add_script_handles()
A
52 13 22
add_script_data()
A
47 9 34
render_shop_message_container()
S
60 7 12
add_shop_loop_data()
S
59 5 14
handle_add_to_cart()
S
59 4 15
handle_after_order_total()
S
66 3 11
handle_cart_totals()
S
66 3 11
get_context_options()
S
52 2 25
__construct()
S
59 1 13
get_admin_script_dependencies()
S
76 1 4
get_product_form_fields()
S
64 1 10
is_checkout_section_enabled()
S
80 1 3
is_cart_section_enabled()
S
80 1 3
is_product_section_enabled()
S
72 1 5
is_shop_section_enabled()
S
80 1 3